range

An integer range of values

Since

0.6.0

Constructors

Link copied to clipboard
pure constructor(end: integer)

Construct a new range of values in steps of 1 from 0 to end

pure constructor(start: integer, end: integer, [step: integer])

Constructs a new range with specified start, end and step size.

Functions

Link copied to clipboard
pure function join_to_text([separator: text], [prefix: text], [postfix: text], [limit: integer?], [truncated: text], [transform: (integer) -> text]): text

Creates a text from all the elements separated using separator and using the given prefix and postfix if supplied.

If the iterable is large, you can specify a non-negative value of limit, in which case only the first limit of elements will be appended, followed by the truncated text (which defaults to "...").